﻿using UnityEngine;
using UnityEditor;
using PureMVC.Patterns;
using PureMVC.Interfaces;
using OrderSystem;

public class WaiterGetFoodFromCookCommand : SimpleCommand

{
    public override void Execute(INotification notification)
    {
        base.Execute(notification);
        WaiterProxy waiterProxy = Facade.RetrieveProxy(WaiterProxy.NAME) as WaiterProxy;       

        waiterProxy.serverFoodToClient(notification.Body as ClientItem);



    }
}